CXX		= gcc
CXXFLAGS	= -O2
LDFLAGS		= -lpthread

###--------------------------------------------------------
### Main target
###--------------------------------------------------------
EXEC=test5

all: $(EXEC)

###--------------------------------------------------------
### Main rules
###--------------------------------------------------------

test5: ordering.cpp
	$(CXX) -o $@ $(CXXFLAGS) $^ $(LDFLAGS)

###--------------------------------------------------------
### Clean
###--------------------------------------------------------
.PHONY: clean mrproper

clean:
	rm -f *.o *~

mrproper: clean
	rm -f $(EXEC)
